﻿namespace Jiubang.Collections{
    using System.Collections.Generic;

    /// <summary>
    /// 可以获得枚举项总数的可枚举集合
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface ICountableEnumerable<T> : IEnumerable<T>{
        /// <summary>
        /// 枚举的项总数
        /// </summary>
        int Count { get; }
    }
}